package org.holynite.fieldmanage.persistence

import org.holynite.fieldmanage.entities.RolePrivilege

/**
 * Created by midnite on 15/1/15.
 */
interface RolePrivilegeEAO extends EAO {
	List<RolePrivilege> getAllPrivileges()
	List<RolePrivilege> getAllPrivilegesInRole(String roleId)
	void clearOldPrivileges(String roleId)
	void saveAllPrivilegesInRole(List<RolePrivilege> privileges)
}